Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update mbedTLS to 2.22.0 #2117

Merged
merged 2 commits into from
Nov 18, 2020
Merged

Update mbedTLS to 2.22.0 #2117

merged 2 commits into from
Nov 18, 2020

Conversation

sergeuz
Copy link
Member

@sergeuz sergeuz commented May 29, 2020

Problem

This PR updates mbedTLS from 2.16.2 to 2.22.0. The submodule has been updated to point to the tip of this branch: https://github.com/particle-iot/mbedtls/tree/particle-2.22.0.

For reference, below are diffs of our patchset applied to the upstream mbedTLS 2.16.2 and 2.22.0 releases respectively:

Steps to Test

  • Devices running this branch should connect to the cloud normally.
  • UDP devices should be able to resume their sessions.
  • Photon should be able to connect to a WPA Enterprise network.
  • Device setup via BLE should work correctly.

References

  • [ch55085]

Copy link
Member

@avtolstoy avtolstoy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Requesting changes only because of:
✔️ / 🔴 Reviewed MbedTLS changes. NULL check needs to be added in Mbed-TLS/mbedtls@mbedtls-2.22.0...particle-iot:particle-2.22.0#diff-cd6cf1fb8879a22b47bde81311b6947cR999

✔️ Devices running this branch should connect to the cloud normally (TCP and UDP)
✔️ UDP devices should be able to resume their sessions
✔️ Photon should be able to connect to a WPA Enterprise network (PEAP/MSCHAPv2 and EAP-TLS verified. Requires #2126)
✔️ Device setup via BLE should work correctly.

@sergeuz
Copy link
Member Author

sergeuz commented Jun 23, 2020

NULL check needs to be added

I force-pushed the change to keep the number of commits small and updated the submodule refs:

Mbed-TLS/mbedtls@mbedtls-2.22.0...particle-iot:particle-2.22.0#diff-cd6cf1fb8879a22b47bde81311b6947cR999-R1009

@avtolstoy avtolstoy self-requested a review June 23, 2020 15:37
@avtolstoy avtolstoy added ready to merge PR has been reviewed and tested and removed needs review labels Jun 23, 2020
@avtolstoy avtolstoy added this to the 2.0.0 milestone Jun 23, 2020
@sergeuz sergeuz modified the milestones: 2.0.0, 3.0.0 Jun 23, 2020
@coveralls
Copy link

Coverage Status

Coverage remained the same at 45.301% when pulling 5c23de5 on mbedtls-2.22.0/ch55085 into d9463fa on develop.

@sergeuz sergeuz merged commit 5b4f8f5 into develop Nov 18, 2020
@sergeuz sergeuz deleted the mbedtls-2.22.0/ch55085 branch November 18, 2020 20:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement ready to merge PR has been reviewed and tested
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants